Skip to content

Conversation

@enoch85
Copy link
Member

@enoch85 enoch85 commented Sep 19, 2024

Not a perfect solution, but worth trying. apt-select is deprecated it seems.

Signed-off-by: Daniel Hansson <[email protected]>
@enoch85
Copy link
Member Author

enoch85 commented Sep 19, 2024

cc @aaaskew Please test.

Signed-off-by: Daniel Hansson <[email protected]>
Signed-off-by: Daniel Hansson <[email protected]>
Signed-off-by: Daniel Hansson <[email protected]>
Signed-off-by: Daniel Hansson <[email protected]>
@enoch85
Copy link
Member Author

enoch85 commented Sep 19, 2024

This is now tested and works, will merge to sort the bug and improve later.

@enoch85 enoch85 merged commit 5e7d183 into main Sep 19, 2024
@enoch85 enoch85 deleted the locate-mirror branch September 19, 2024 16:32
@aaaskew
Copy link
Contributor

aaaskew commented Sep 20, 2024

This has worked for me in Ubuntu 24 but my old upgraded to Ubuntu 22 system did something weird.

I am not sure if this is due to network issues or what it downloaded but it appears it tried and failed to upgrade the sources.list (fortunately)

This is what I saw:

Screenshot 2024-09-20 at 16 41 59

@enoch85
Copy link
Member Author

enoch85 commented Sep 20, 2024

Hmm, maybe we should limit it to Ubuntu 24 then... Can you please try again?

Also, you have backups in etc/apt/ ;)

@aaaskew
Copy link
Contributor

aaaskew commented Sep 21, 2024

Tried again with Ubuntu 24 and 22 and it works for me with the re-test. I am assuming the error was due to a DNS or download failure that disappeared on retry. The sources.list did not actually get changed when that screenshot occured. The script just went a little mad. I assume it is due to some output being taken as what should be displayed in the dialog but that text is actually the script itself.

So consider the re-test ok for me.

@enoch85
Copy link
Member Author

enoch85 commented Sep 21, 2024

Nice! Thanks for confirming. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants